@import './reset.less';

html,
body {
  height: 100%;
}
#app,
.page {
  height: 100%;
}
#app {
  display: flex;
  //height: 100vh;
  flex-direction: column;
}
#app > .app_bd {
  flex: 1;
  overflow: hidden;
  height: 100%;
}
#app > .app_bd > .tab-bd {
  height: calc(100% - 55px);
}
.page {
  display: flex;
  flex-direction: column;
}
.page_sub_hd {
  height: 36px;
  line-height: 36px;
  background: #f0f2f4;
}
.page_bd {
  flex: 1;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateZ(0px);
  transform: translate(0px);
  background: #f9f9f9;
}
.page_ft {
  height: 45px;
}
.tab-bar {
  height: 55px;
}

.page-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 20;
  background-color: #f2f4f5;
  overflow: hidden;
  .page {
    height: 100%;
    overflow-y: auto;
  }
}

.house-list-item {
  width: 100%;
  border-radius: 0.24rem;
  margin-top: 0.2rem;
  padding: 0.2rem;
  background: #fff;
  border: 1px solid #c4ccdc;
  &:first-child {
    margin-top: 0;
  }
  img {
    width: 2.34rem;
    height: 1.8rem;
    border-radius: 8px;
  }
  .list-item-inner {
    display: flex;
    height: 1.8rem;
    margin-bottom: 0.2rem;
  }
  .item-content {
    margin-left: 0.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .setRent {
      font-size: 0.28rem;
      color: #171e33;
      font-weight: bold;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      line-height: 0.36rem;
    }
    .btn-wrap {
      font-size: 0.24rem;
      color: #7c8598;
      height: 0.4rem;
      overflow: hidden;
      span {
        display: inline-block;
        padding: 0.04rem 0.12rem;
        border-radius: 0.04rem;
        background: #f2f4f5;
        margin-right: 0.2rem;
        &:last-child {
          margin-right: 0;
        }
      }
    }
    .priceAndArea {
      .price {
        font-size: 0.36rem;
        font-weight: bold;
        color: #ff4e56;
        margin-right: 0.32rem;
        .unit {
          font-size: 0.22rem;
        }
      }
      .area {
        font-size: 0.24rem;
        color: #7c8598;
      }
    }
  }
  .location {
    color: #7c8598;
    font-size: 0.24rem;
    i {
      font-size: 0.26rem;
      margin-right: 0.12rem;
    }
  }
}
.flex-cb {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
